package cn.tx.构造方法;

/**
 * @author Mxb
 * @version 1.0
 * @date 2020/10/17 8:29
 */
class Student {
    private String name;
    private int age;
    //构造方法
    public Student() {
        System.out.println("无参构造方法");
    }

    public void show() {
        System.out.println(name + "," + age);
    }
}


